package vip.geeker.iotms.persistance.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DeviceWarnInfo extends PageParam implements Serializable {
    private static final long serialVersionUID = -3408188076186542096L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer deviceId;

    private Date warnBeginTime;

    private Date warnEndTime;

    private Integer hitRuleId;

    private BigDecimal warnValue;

}